<%@page import="com.tubeonfire.entity.Category" %>
<%@page import="java.util.List" %>

<%
	List<Category> listCategory = (List<Category>) request.getAttribute("listCategory");		
	if(listCategory!=null&&listCategory.size()>0)
	{%>
		<h2 class="title-line">Categories</h2>
	<%
	for(Category cate: listCategory){
	%>
	<div class="social-box">
		<a href="/category/<%=cate.getAlias() %>"  title="<%=cate.getTitle().getValue()%>"></a>
		<img src="/images/logo-footer.png" alt="<%=cate.getTitle().getValue()%>" width="48px"/>
		<div class="social-box-text">
			<span class="social-arrow"></span>
			<span class="social-box-descrip">
				<a href="/category/<%=cate.getAlias() %>" rel="bookmark" title="<%=cate.getTitle().getValue()%>"><%=cate.getTitle().getValue() %></a>
			</span>
			<span class="social-box-count"></span>
		</div>
	</div>
	<%
	}
	}
%>
	